export interface ApiResponse<T = any> {
  code: number
  message: string
  data: T
}

export interface PageResult<T> {
  records: T[]
  total: number
  size: number
  current: number
}

export interface User {
  id?: number
  name: string
  companyName: string
  position: string
  phone: string
  email?: string
  productCategory: string
  createTime?: string
}

export interface Prize {
  id: number
  name: string
  value: number
  image: string
  count: number
  createTime: string
  updateTime: string
}

export interface DrawResult {
  id: number
  ame: string
  value: number
} 